﻿using System;
using System.Collections.Generic;
using System.Text;
using OT.Common;

namespace OT.Dev
{
    /// <summary>
    /// 分页浏览选择
    /// </summary>
    public enum PagerStyle
    {
        [Caption( "分页浏览--是" ) ]
        Pager = 1 ,
        [Caption("分页浏览--否")]
        NonPager ,
        [Caption("分页浏览--否(冻结)")]
        NonPagerWithFreezing 
    }

    /// <summary>
    /// 文件导出格式
    /// </summary>
    public enum ExportFileType
    {
        [Caption( "导出格式--Excel" ) ]
        XLS = 1 ,
        [Caption( "导出格式--Pdf" ) ]
        PDF ,
        [Caption( "导出格式--Rtf" ) ]
        RTF ,
        [Caption( "导出格式--Csv" ) ]
        CSV
    }

    /// <summary>
    /// 从表导出模式
    /// </summary>
    public enum DetailExportMode
    {
        [Caption( "从表导出--全部" ) ]
        All  = 1 ,
        [Caption( "从表导出--展开" ) ]
        Expanded ,
        [Caption( "从表导出--否" ) ]
        None 
    }

    public enum Sex
    {
        [Caption( "男" )]
        Man = 1001 ,
        [Caption("女")]
        Women = 1002 
    }
}
